﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListPageDemo.aspx.cs" Inherits="AUV5.Web.Testing.ListPageDemo" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style=" border:1;">
            <tr>
                <td>
                    ID
                </td>
            
                <td>
                    Title
                </td>            
                <td>
                    Decription
                </td>
            </tr>
            <asp:Repeater ID="rptServiceInfo" runat="server">
                <ItemTemplate>
                    <tr>
                        <td>
                           <%#(Container.DataItem as AUV5.Model.ServiceInfo).ServiceID%>
                        </td>
                   
                        <td>
                            <%#(Container.DataItem as AUV5.Model.ServiceInfo).Title%>
                        </td>
                   
                        <td>
                            <%#(Container.DataItem as AUV5.Model.ServiceInfo).Description%>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    </form>
</body>
</html>
